package top.zhangjianyong.blog.params.user;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 修改密码参数
 *
 * @author HDN
 * @since 2024/7/19 下午9:40
 */
public record PasswordResetParam(
    @NotBlank(message = "用户名不能为空") String username,
    @NotBlank(message = "密码不能为空") String password,
    @NotNull(message = "验证码不能为空") Integer code) {}
